﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    [Table("T_MemberInfo")]
    public class T_MemberInfo
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int M_Id { get; set; }

        /// <summary>
        /// 会员真实姓名
        /// </summary>
        public string M_Name { get; set; }

        /// <summary>
        /// 会员手机号
        /// </summary>
        public string M_Phone { get; set; }

        /// <summary>
        /// 会员身份证号
        /// </summary>
        public string M_Card { get; set; }

        /// <summary>
        /// 会员卡号
        /// </summary>
        public string M_Code { get; set;}

        /// <summary>
        /// 会员等级
        /// </summary>
        public string M_Grape { get; set;}

        /// <summary>
        /// 地址
        /// </summary>
        public string M_Addr { get; set; }

        /// <summary>
        /// 消费金额
        /// </summary>
        public string M_Price { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime M_CreateDate { get; set; } = DateTime.Now;


    }
}